package com.cloudcc.mobile.view.web;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.cloudcc.mobile.view.base.BaseFragmentActivity;
import com.litesuits.android.log.Log;

/**
 * @Description: webview
 * @author wangzhiqiang
 * @date 2015-12-4 上午11:29:25
 * 
 */
public class CloudWebViewActivity extends BaseFragmentActivity {
	@Override
	public void init(Bundle savedInstanceState) {
		super.init(savedInstanceState);
		int intExtra = getIntent().getIntExtra("fragment", 1);
		Fragment fragment;
		if (intExtra == 2) {
			fragment = new ShenPiWebFragment();
		} else {
			fragment = new WebFragment();
			Log.d("tiaozhuan", "跳转到了WebFragment");
		}
		fragment.setArguments(getIntent().getExtras());
		getSupportFragmentManager().beginTransaction()
				.add(getContainerId(), fragment).commit();
	}
	public String setParam(){
		
		return "CC";
	}

}
